/*
 * @Author       : 邱狮杰
 * @Date         : 2021-08-31 12:53:15
 * @LastEditTime: 2021-09-05 12:39:13
 * @FilePath: /new-hope/src/router/route.ts
 * @Description  :
 */

export const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: () => import("/@/page/home/index.vue"),
    name: "index",
  }, // 首页
  {
    path: "/gameDescription",
    component: () => import("/@/page/home/gameDescription.vue"),
    name: "gameDescription",
  }, // 游戏规则
  {
    path: "/game",
    component: () => import("/@/page/game/index.vue"),
    name: "gameIndex",
  }, // 游戏首页
  {
    path: "/luckDraw",
    component: () => import("/@/page/luckDraw/index.vue"),
    name: "luckDraw",
  }, // 抽奖首页
  {
    path: "/bestWishesSuccess",
    component: () => import("/@/page/bestWishesSuccess/index.vue"),
    name: "bestWishesSuccess",
  }, // 祝福保存成功页面
  {
    path: "/gameSuccess",
    component: () => import("/@/page/gameSuccess/index.vue"),
    name: "gameSuccess",
  }, // 游戏结束后
  {
    path: "/clickSave",
    component: () => import("/@/page/clickSave/index.vue"),
    name: "clickSave",
  }, //  点击保存
  {
    path: "/info",
    component: () => import("/@/page/awardInformation/index.vue"),
    name: "info",
  }, //  点击保存

  {
    path: "/message",
    component: () => import("/@/page/message/windBlowsTheFragranceOfRice.vue"),
    name: "message",
  }, //  点击保存
];
